package com.example.zjx8969.myapplication.beans;

import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.annotation.NonNull;

import java.io.Serializable;
import java.util.List;

@Entity(tableName = "categoryList", primaryKeys = {"id", "category"}/*, indices = {@Index(value = {"id", "category"}, unique = true)}*/)
public class SubCategoryListBean implements Serializable {
    /**
     * code : 030
     * name : Chella
     * eventName : chella
     * styleNoList : [{"styleNo":"7902","styleType":2,"isLiveStyleShow":true,"isEditShow":true}]
     */

    @NonNull
    public int id;
    public int accountId = -1;

    public String code;
    public String name;
    public String eventName;
    public String uploadBrandCode;
    public String categoryHint;
    public int hintCount;
    public int selectionMode;
    @Ignore
    public List<StyleNoListBean> styleNoList;
    @NonNull
    public String category;
}
